package cn.bluemobi.platform.mapper;

import java.util.List;
import java.util.Map;

import cn.bluemobi.platform.entity.order.AfterSales;
import cn.bluemobi.platform.entity.order.AfterSalesItem;

public interface AfterSalesMapper {

    List<AfterSales> findAfterSaless(Map<String, Object> map);

    AfterSales findAfterSalesDetail(String afterSalesId);

    List<AfterSalesItem> findAfterSalesItems(String afterSalesId);

    int auditing(String afterSalesStatus, String afterSalesId);

    int refuseAuditing(String afterSalesStatus, String refuseReason, String afterSalesId);

    int updateOrderInfoAfterSalesStatus(String afterSalesStatus, String orderInfoId);

    int deleteAfterSales(String afterSalesId);

    void confirmPayment(String string, String afterSalesId);

    int getOrderPassAuditingCount(String orderId);

    int getAfterSalesPassAuditingCount(String orderId);

    int updateOrderAfterSalesFinish(String orderId);

}
